﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Domain.Entity
{
    [Serializable]
    public class JobBooking
    {
        public virtual long ID
        {
            get;
            set;
        }
        public virtual Invoice Invoice
        {
            get;
            set;
        }
        public virtual Customer Customer
        {
            get;
            set;
        }
        public virtual Staff Staff
        {
            get;
            set;
        }
        public virtual PassengerDetails PassengerDetails
        {
            get;
            set;
        }
        public virtual DateTime? JobDateTime
        {
            get;
            set;
        }
        public virtual BookingType BookingType
        {
            get;
            set;
        }        
        public virtual string FromAddressLine1
        {
            get;
            set;
        }
        public virtual string FromAddressLine2
        {
            get;
            set;
        }
        public virtual string FromCity
        {
            get;
            set;
        }
        public virtual string FromCounty
        {
            get;
            set;
        }
        public virtual Country FromCountry
        {
            get;
            set;
        }
        public virtual string FromPostcode
        {
            get;
            set;
        }
        public virtual string ToAddressLine1
        {
            get;
            set;
        }
        public virtual string ToAddressLine2
        {
            get;
            set;
        }
        public virtual string ToCity
        {
            get;
            set;
        }
        public virtual string ToCounty
        {
            get;
            set;
        }
        public virtual Country ToCountry
        {
            get;
            set;
        }
        public virtual string ToPostcode
        {
            get;
            set;
        }
        public virtual decimal? WaitingCharge
        {
            get;
            set;
        }
        public virtual decimal Fare
        {
            get;
            set;
        }        
        public virtual Refund Refund
        {
            get;
            set;
        }
        public virtual string Note
        {
            get;
            set;
        }
        public virtual DateTime CreatedDate
        {
            get;
            set;
        }
        public virtual int CreatedBy
        {
            get;
            set;
        }
        public virtual DateTime? UpdatedDate
        {
            get;
            set;
        }
        public virtual int? UpdatedBy
        {
            get;
            set;
        }
        public virtual bool IsDeleted
        {
            get;
            set;
        }
        public virtual Status Status
        {
            get;
            set;
        }      
        public virtual IList<CarParkDetails> CarParkDetails
        {
            get;
            set;
        }
    }
}
